package com.library.dao;

import com.library.po.BookInfo;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface BookInfoMapper {
    int insertSelective(BookInfo record);

    //根据id查询书籍
    BookInfo selectByPrimaryKey(Integer id);

    //查询所有图书
    List<BookInfo> queryBookInfoAll(BookInfo bookInfo);

    //根据类型获取图书数量
    List<BookInfo> getBookCountByType();
}